package com.tour.dao;

import java.util.List;

import com.tour.pojo.Scenic;

public interface ScenicMapper {
    int deleteByPrimaryKey(Integer scenicId);

    int insert(Scenic record);

    int insertSelective(Scenic record);

    Scenic selectByPrimaryKey(Integer scenicId);

    int updateByPrimaryKeySelective(Scenic record);

    int updateByPrimaryKey(Scenic record);
    
    List<Scenic> selectScenicChildrenByParentId(Integer parentId);
    
    List<Scenic> selectAddressChildrenByParentId(Integer parentId);
}